import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from "@/components/HelloWorld"
import TestComponent from '@/components/TestComponent'
import Login from '../components/Login'

Vue.use(Router)
const router = new Router({
	mode: 'history',
	routes: [
    {
      	path: '/',
      	name: 'HelloWorld',
      	component: HelloWorld
    },
    {
    	path: '/test',
    	name: 'test',
    	component: TestComponent
    },
    {
        path: '/login',
        name: 'LoginPage',
        component: Login,
    }
  ]
})
export default router
